buildertool: Fix a simplify issue
authorMatthias Clasen <mclasen@redhat.com>
Wed, 29 Sep 2021 11:48:33 +0000 (07:48 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 29 Sep 2021 14:58:23 +0000 (10:58 -0400)
<lookup> elements can contain a type name, we can't just
ignore the pcdata content. This was breaking some of our
ui files when simplifying them.

tools/gtk-builder-tool-simplify.c

index e9d15f6582137d5a65298542807e716eebda9d21..0f13bf7a6d6b1e24b944747d972fcbe2fe58b4be 100644 (file)
@@ -255,6 +255,7 @@ is_pcdata_element (Element *element)
     "col",
     "item",
     "mark",
+    "lookup",
     NULL,
   };